package com.dong.com.love.utils;

import android.content.Context;

import com.dong.com.mvvmdemo.R;

/**
 * 尺寸换算工具
 * Created by Dong on 2016/11/1.
 */

public class SizeUtil {

    public static float getSize(Context context,int id){
        return  context.getResources().getDimension(id);
    }

}
